#define _CRT_SECURE_NO_WARNINGS
#include"stack.h"
void test01()
{
	ST s1;
	STInit(&s1);
	STPush(&s1, 1);
	STPush(&s1, 2);
	STPush(&s1, 3);
	STPush(&s1, 4);
	STPush(&s1, 5);
	ST* ps = &s1;
	while (!STEmpty(ps))
	{
		printf("%d ", STTop(ps));
		STPop(ps);
	}
}
int main()
{
	test01();
	return 0;
}